export const REP_WORK_ORDER_STATUS = {
  TO_ACCEPT: {
    value: '0',
    label: '待接单'
  },
  TO_REPAIR: {
    value: '1',
    label: '未开始'
  },
  SEEK_HELP: {
    value : '2',
    label: '求助'
  },
  DO_REPAIR: {
    value: '3',
    label: '维修中'
  },
  SUSPEND: {
    value: '4',
    label: '挂起'
  },
  DONE: {
    value: '5',
    label: '已完成'
  },
  REJECTED: {
    value: '9',
    label: '拒绝'
  }
}
export const INSPECTION_ORDER_STATUS = {
  UNDISTRIBUTED:{
    value:'0',
    label:'未分配'
  },
  WILL: {
    value: '1',
    label: '未开始'
  },
  OVERTIME:{
    value: '2',
    label: '超时未检'
  },
  DOING:{
    value: '3',
    label: '进行中'
  },
  FINISHED: {
    value: '4',
    label: '已完成'
  },
  SIGNED: {
    value: '5',
    label: '已签名'
  },
  TIMEOUT: {
    value: '6',
    label: '工单超时'
  }
}
export const MAINTENANCE_ORDER_STATUS = [
  {
    label: '未分配',
    value: '0'
  },
  {
    label: '未开始',
    value: '1'
  },
  {
    label: '超时未保养',
    value: '2'
  },
  {
    label: '保养中',
    value: '3'
  },
  {
    label: '已完成',
    value: '4'
  },
  {
    label: '已签名',
    value: '5'
  },
  {
    label: '保养超时',
    value: '6'
  }
]
export const DIC = {
  /**
   * 日期类型
   */
  dateType: [
    {value: 0, label: '年', type: 'year'},
    {value: 1, label: '月', type: 'month'},
    {value: 2, label: '周', type: 'week'},
    {value: 3, label: '日', type: 'day'},
  ],
  workOrderType:[
    {
      label: '巡检',
      value: 0
    },
    {
      label: '保养',
      value: 1
    },
    {
      label: '维修',
      value: 2
    }
  ],
  signType: [
    {
      label:'电子签名',
      value:'0'
    },
    {
      label:'纸质版签名',
      value:'1'
    }
  ]
}